package asionreachel.cn.smarthomedemo.data;

/**
 * Created by SuperMa on 2017/6/24.
 */

public class CDeviceItem {
    private int m_iIconOnline;
    private int m_iIconOffline;
    private String name;
    private String deviceId;
    private boolean onLine;
    private boolean isSelect;
    public CDeviceItem(String a_strDeviceId , String a_strName , boolean a_iOnline, int a_iIconOnline, int a_iIconOffline )
    {
        deviceId = a_strDeviceId;
        name = a_strName;
        onLine = a_iOnline;
        m_iIconOnline = a_iIconOnline;
        m_iIconOffline = a_iIconOffline;
        isSelect = false;
    }

    public int getIcon()
    {
        return m_iIconOnline;
    }

    public int getIconOnline()
    {
        return m_iIconOnline;
    }

    public int getIconOffline()
    {
        return m_iIconOffline;
    }

    public String getName()
    {
        return name;
    }

    public String getDeviceId()
    {
        return deviceId;
    }

    public boolean getOnLine()
    {
        return onLine;
    }

    public boolean getIsSelect()
    {
        return isSelect;
    }

    public void setIsSelect(boolean a_bIsSelect)
    {
        isSelect = a_bIsSelect;
    }
}
